<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<script>
	var a = {name:'  |---- 职能'};
	console.log(a);
	a.name = a.name.replace(/[-|\s]/g,"");
	console.log(a);
	console.log(data.Status);

	{{# if(d.JiaoYan == 1){ }}
	<div class="layui-form-item" style="float: left;margin-left: 15px">
		<div class="layui-input-inline">
		<input placeholder="老生不能做转介绍" autocomplete="off" class="layui-input" disabled="disabled">
		</div>
		<div class="layui-input-inline" style="width: auto;margin-right: 0">
		<button class="layui-btn  layui-btn-disabled">无法校验</button>
		</div>
		</div>
		{{# }else{ }}
	<div class="layui-form-item" id="AddNewDiv" style="float: left;margin-left: 15px">
		<div class="layui-input-inline">
		<input required lay-verify="required" placeholder="请输入介绍人电话" autocomplete="off" class="layui-input" id="InnerPhoneInput">
		</div>
		<div class="layui-input-inline" style="width: auto;margin-right: 0" id="CheckInner">
		<button class="layui-btn layui-btn-normal" id="AddNew">校验</button>
		</div>
		<label class="layui-form-label" id="JiaoYanLable" style="text-align: left;padding: 15px 0 0 15px;color:#888888;width: 120px"></label>
		</div>
		{{# } }}
</script>
</body>
</html>